import express from "express";
import oneToOneUsersRouter from "./one_to_one/user";
import manyToOneUsersRouter from "./many_to_one/user";
import manyToManyQuestionRouter from "./many_to_many/question";

const router = express.Router();

// 将子路由挂载到主路由上
router.use("/", [
  oneToOneUsersRouter,
  manyToOneUsersRouter,
  manyToManyQuestionRouter,
]);

export default router;
